home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 2
/
Aminet AMIGA CDROM (1994)(Walnut Creek)[Feb 1994][W.O. 44790-1].iso
/
Aminet
/
util
/
libs
/
cwrlib31.lha
/
cwritelib.i
< prev
next >
Wrap
Text File
|
1992-07-22
|
2KB
|
78 lines
**************************************************************************
* *
* cwritelib.i -- definition of Cwrite structure *
* *
* Copyright (C) 1992 Tribune Channel Software Team. All rights reserved. *
* *
**************************************************************************
IFND CWRITELIB_I
CWRITELIB_I SET 1
IFND CWRITELIB_BASE_I
INCLUDE "cwritelibbase.i"
ENDC ; CWRITELIB_BASE_I
*****************************************************************************
* The following structure is for *PRIVATE USE ONLY*!
* The only thing it should be used for, is to handle the pointer over to
* the library, that then will use the things.
* None of the values should be altered, unless you are very sure of what
* you are doing. - Doing so is on your own risk.
*****************************************************************************
STRUCTURE CwrData,0
APTR cd_Screen ; Pointer to the window's screen
APTR cd_Window ; Pointer to the window
APTR cd_BitMap ; Pointer to the window's bitmap
APTR cd_RastPort ; Pointer to the window's rastport
APTR cd_Font ; Pointer to the window's font
WORD cd_XPos ; Current X-position
WORD cd_YPos ; Current Y-position
LONG cd_JumpAddress ; The rest of this stuff is for
LONG cd_String ; internal use only! DO NOT ALTER!
LONG cd_TxtStyle ; Use CWriteInit() instead, if you
WORD cd_RestoreX ; have changed the window limits.
WORD cd_RestoreY
WORD cd_Length
WORD cd_Lines
WORD cd_Rows
WORD cd_Wy
WORD cd_ScreenH
WORD cd_ScreenW
WORD cd_CharX
WORD cd_CharY
WORD cd_BaseLine
WORD cd_No_of_bytes
WORD cd_BufCount
WORD cd_Color
WORD cd_SaveColor
UBYTE cd_Byte
UBYTE cd_Bold
UBYTE cd_Flags
UBYTE cd_ScrByte
UBYTE cd_CursorType
UBYTE cd_Unused ;padding character.
STRUCT cd_CursorPtrn,4
STRUCT cd_AreaPtrn,4
STRUCT cd_Buffer,100
LABEL CwrData_SIZEOF
CURSORTYPE_NONE equ 0
CURSORTYPE_FAST equ 1
CURSORTYPE_SLOW equ 2
CURSORTYPE_GHOSTED equ 3
_LVOCWriteInit equ -30
_LVOCWrite equ -36
_LVOCWriteAlloc equ -42
_LVOCWriteFree equ -48
_LVOCWriteCursorType equ -54
_LVOCWriteOpenWindow equ -60
_LVOCWriteCloseWindow equ -66
_LVOCWriteSetColors equ -72
ENDC ; CWRITELIB_I